package com.woniuxy.hospital.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hpl_hospitalization")
public class HplHospitalization implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer patientId;

    private Integer doctorId;

    private Integer bedId;

    private Integer departmentId;

    private String reason;

    private String treatmentPlan;

    private LocalDateTime admissionDate;

    private LocalDateTime dischargeDate;

    private BigDecimal advancePayment;

    private BigDecimal totalPrice;


}
